// ------------------------题库列表接口文件------------------------------
import request from '@/utils/request'

// 获取学科列表
export const questionList = (params) => {
  return request({
    url: '/question/list',
    params
  })
}

// 获取用户信息
export const Info = () => {
  return request({
    url: '/info'
  })
}

export const login = (data) => {
  return request({
    url: '/login',
    method: 'post',
    data
  })
}
